using UnityEngine;
using System;

public class Terminal : Track
{
	public Transform cart;
	
	protected override void Start () 
	{
        base.Start();
		Transform newCart = Instantiate(cart) as Transform;
		newCart.position = coord;
		newCart.rotation = Quaternion.LookRotation(rot);
		newCart.position = coord + 2*newCart.transform.up;
		newCart.GetComponent<Cart>().startTerminal = this;
	}
}